<?php
header('Content-Type:text/html;charset=utf-8');
if ($_REQUEST['baction'] == 'insert') {
	$ret = array();
	$ret['id'] = rand(5, 100);
	$ret['name'] = $_REQUEST['name'];
	$ret['sex'] = $_REQUEST['sex'];
	$ret['age'] = $_REQUEST['age'];
	print json_encode($ret);
} else {
	print 'i get id';	
}
